const Article = {
    path: 'article',
    name: 'ArticleIndex',
    component: () => import('@/pages/index/views/Admin/article/Index.vue'),
    meta:{
        title:"文章管理",
        name:"文章管理",
        leftNav:true,
        keepAlive:false,
        requiresAuth:true,
    },
    children:[
        {
            path: 'search',
            name: 'ArticleSearch',
            component: () => import('@/pages/index/views/Admin/article/Search.vue'),
            meta:{
                title:"查看文章",
                name:"查看文章",
                leftNav:true,
                keepAlive:false,
                requiresAuth:true,
            }
        },
        {
            path: 'post',
            name: 'ArticlePost',
            component: () => import('@/pages/index/views/Admin/article/Post.vue'),
            meta:{
                title:"添加文章",
                name:"添加文章",
                leftNav:true,
                keepAlive:false,
                requiresAuth:true,
            }
        },
        {
            path: 'class',
            name: 'ArticleClass',
            component: () => import('@/pages/index/views/Admin/article/Class.vue'),
            meta:{
                title:"文章分类",
                name:"文章分类",
                leftNav:true,
                keepAlive:false,
                requiresAuth:true,
            }
        },
        {
            path: 'edit/:aid',
            name: 'ArticleEdit',
            props:true,
            component: () => import('@/pages/index/views/Admin/article/Edit.vue'),
            meta:{
                title:"修改文章",
                name:"修改文章",
                leftNav:false,
                keepAlive:false,
                requiresAuth:true,
            }
        }
    ]
}

export default Article